<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
	<head>
		<title>Home</title>
		<script src='<c:url value="/js/jquery/jquery-3.3.1.min.js" />'></script>
		<script>
			function toPrice(){
				window.location.assign("/toPrice");
			}
			function toBook(){
				window.location.assign("/toBook");
			}
		</script>
	</head>
	<body>
		<h2>Car Home</h2>
		<button onclick="toPrice();">To get the Car Prices</button>
		<button onclick="toBook();">To get the Book</button>
	</body>
</html>
